package com.atguigu.exer;

public class TestDemo_04 implements Runnable{
    public void run(){
        for(int i=0;i<10;i++){
            System.out.println(i);
        }
    }

    public static void main(String[] args) {
        TestDemo_04 testDemo_04=new TestDemo_04();
        Thread thread=new Thread(testDemo_04);
        thread.start();
    }
}
